import request from '@/utils/request'
//攻略资讯 
// 列表
export function getArticleList(params) {
    return request({
        url: '/article/index',
        method: 'post',
        data: params
    })
}
// 添加
export function addArticle(params) {
    return request({
        url: '/article/create',
        method: 'post',
        data: params
    })
}
// 删除
export function delArticle(params) {
    return request({
        url: '/article/delete',
        method: 'post',
        data: params
    })
}
// 发布
export function statusArticle(params) {
    return request({
        url: '/article/batch_operation',
        method: 'post',
        data: params
    })
}
// 编辑
export function editArticle(params) {
    return request({
        url: '/article/update',
        method: 'post',
        data: params
    })
}
//详情
export function getArticleDetail(params) {
    return request({
        url: '/article/detail',
        method: 'post',
        data: params
    })
}